package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.cp.api.entity.crm.WorkAssetsInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * CRM资产业务服务
 */
public interface WorkAssetsInfoService extends IService<WorkAssetsInfoEntity> {

    /**
     * 查询全部
     * @return
     */
    List<WorkAssetsInfoEntity> listAll();

    /**
     * 删除分表全部数据
     * @return
     */
    boolean removeAll();

    /**
     * 批量分表保存
     * @return
     */
    boolean batchSaveAll(List<WorkAssetsInfoEntity> entityList);

    List<WorkAssetsInfoEntity> listByCustNo(String custNo);

    List<Map<String,Object>> listInCustNos(List<String> custNos);

}
